#ifndef MYMAINWINDOW_H
#define MYMAINWINDOW_H

#include <QMainWindow>
#include <QPaintEvent>
#include <QMenuBar>
#include <QPainter>
#include <QPixmap>
#include <QMenu>
#include <QIcon>
#include <QDesktopWidget>
#include <QDebug>
#include <QApplication>

namespace Ui {
class MyMainWindow;
}

class MyMainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MyMainWindow(QWidget *parent = 0);
    ~MyMainWindow();

private:
    Ui::MyMainWindow *ui;
    QMenuBar *mb;

protected:

    /**
     * @brief paintEvent 绘制开始页面背景
     * @param event
     */
    void paintEvent(QPaintEvent *event);
};

#endif // MYMAINWINDOW_H
